﻿using CarAppDomain.Base;
using SqlSugar;

namespace CarAppDomain.CarType.Entities
{
    /// <summary>
    /// 精准车型表包含精准车型代码、品牌代码、车系代码、车型代码、车型名称（中英文）、车型型号、配置信息等信息。（厂家生产了100台领克01 helo）
    /// </summary>
    [SugarTable("precise_carttype", TableDescription = "精准车型表")]
    public class PreciseCartTypeEntity : BaseEntity
    {
        /// <summary>
        /// 所属品牌代码
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar", Length = 36, IsNullable = false, ColumnDescription = "所属品牌代码")]
        public string? BrandId { get; set; }

        /// <summary>
        /// 所属车系代码（车系ID）
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar", Length = 36, IsNullable = false, ColumnDescription = "所属车系代码")]
        public string? VehicleSeriesId { get; set; }

        /// <summary>
        /// 所属车型代码
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar", Length = 36, IsNullable = false, ColumnDescription = "所属车型代码")]
        public string? CarTypeId { get; set; }
    }
}
